package com.zmn.plat.business.interfaces.orderconfig.orderstock.channel;

import java.util.List;

import com.zmn.plat.model.entity.orderconfig.orderstock.SubmitDutyDateVO;
import com.zmn.plat.model.entity.orderconfig.orderstock.channel.ChannelCloseDayVO;

/**
 * 描述: 渠道库存配置：关闭日期基础接口类
 *
 * @author xiangjunming
 * @since 20200324 17:01:17
 * @modify 20200324 xiangjunming 创建
 * @since
 */
public interface ChannelConfigCloseBService {

    /**
     * 渠道可用的渠道id,当前渠道没有配置取父级渠道id，配置了查询当前渠道id
     *
     * @param channelId
     * @param status
     * @author tanbiao
     * @since 2020/11/23 17:00:54
     * @since
     */
    Integer getAvailableCategoryChannelId(Integer channelId,Integer status);

    /**
     * 描述此方法实现的功能
     *
     * @param vo
     *            描述此参数
     * @author xiangjunming
     * @since 2020/03/24 17:00:54
     * @modify 2020/03/24 xiangjunming 创建
     * @since
     */
    void closeDays(SubmitDutyDateVO<ChannelCloseDayVO> vo);

    /**
     * 描述此方法实现的功能
     *
     * @param ids
     *            描述此参数
     * @author xiangjunming
     * @since 2020/03/24 17:00:54
     * @modify 2020/03/24 xiangjunming 创建
     * @since
     */
    void openDays(List<Integer> ids, String operator);
}
